//
// Created by WenDaoJiang on 2017/6/19.
// Copyright (c) 2017 文道江. All rights reserved.
//

#import "ImageButton.h"


@implementation ImageButton {

}

+ (instancetype)buttonWithType:(UIButtonType)buttonType {
    ImageButton *button = (ImageButton *) [super buttonWithType:buttonType];
    button.lzType = LZRelayoutButtonTypeBottom;
    button.frame = CGRectMake(0, 0, 80, 90);
    button.imageSize = CGSizeMake(64, 64);
    button.titleLabel.font = [UIFont systemFontOfSize: 12];
    [button setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
    button.offset = 0;
    return button;
}

@end